package com.young.ums.model;

import java.util.Date;
/**
* 角色用户实体类
* Created by imrookie on 2018-10-9.
*/
public class RoleUser extends AuthorityParameter{

    private String id;//主键
    private String userId;//用户编号
    private String roleId;//角色编号

    private String orderBy;//排序字段
    private String orderType;//排序类型,升序asc/降序desc

    //用户相关信息
    private String userName;//昵称
    private String account;//账号
    private Date birthday;//出生日期
    private Integer sex;//性别
    private String tel;//电话
    private String email;//邮箱
    private Integer state;//状态
    private String category;//用户类别
    private String companyId;//所属单位
    private String header;//头像
    private Integer num;//显示顺序

    //角色信息
    private Role role;


    public RoleUser(){
        super();
    }

    public String getId() {
    return id;
    }
    public void setId(String id) {
    this.id = id;
    }
    public String getUserId() {
    return userId;
    }
    public void setUserId(String userId) {
    this.userId = userId;
    }
    public String getRoleId() {
    return roleId;
    }
    public void setRoleId(String roleId) {
    this.roleId = roleId;
    }

    public String getOrderBy() {
        return orderBy;
    }

    public void setOrderBy(String orderBy) {
        this.orderBy = orderBy;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getEmail() {
        return email;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getHeader() {
        return header;
    }

    public void setHeader(String header) {
        this.header = header;
    }

    public Role getRole() {
        return role;
    }

    public void setRole(Role role) {
        this.role = role;
    }
}